package org.diysearch.models;

import java.util.List;

import org.diysearch.interfaces.Model;

public class SearchResult extends BaseModel {

	private List<Link> links;
	private Object[] facets;
	private int qtime;
	private long hits;
	private float maxScore;
	
	public SearchResult() {}
	
	public float getMaxScore() {
		return maxScore;
	}

	public void setMaxScore(float maxScore) {
		this.maxScore = maxScore;
	}

	public List<Link> getLinks() {
		return links;
	}

	public void setLinks(List<Link> links) {
		this.links = links;
	}

	public Object[] getFacets() {
		return facets;
	}

	public void setFacets(Object[] facets) {
		this.facets = facets;
	}

	public int getQtime() {
		return qtime;
	}

	public void setQtime(int qtime) {
		this.qtime = qtime;
	}

	public long getHits() {
		return hits;
	}

	public void setHits(long hits) {
		this.hits = hits;
	}

	@Override
	public String getAliasName() {
		// TODO Auto-generated method stub
		return "search-result";
	}

}
